import request from './request';

/*
 * 新增测试得分
 * @param {Object} data 新增的数据
 * @returns {Promise}
 */
export const insertTestScore = (data) => {
    return request({
      url: '/testscore/testscore',
      method: 'post',
      data
    });
  };

// 获取所有体质类型列表
export function getTestScoreList(params) {
  return request({
    url: '/testscore/testscore/details',
    method: 'get',
    params: {
      ...params,
      del: 0
    }
  });
}